package com.lemon.core.mybatis.config.druid;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * @author lemon
 * @ClassName DruidStatFilter
 * @desc
 * @Date 2018/5/25 10:16
 * @Version 1.0
 **/
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*",
        initParams = {
            @WebInitParam(name="exclusions",value="*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*") // 忽略资源
        })
public class DruidStatFilter extends WebStatFilter {
}
